package com.yiwei.ydd.api.model;

import com.yiwei.ydd.api.ResponseModel;

import java.util.List;

/**
 * Created by xsooy-pc on 18-3-5.
 */

public class IndexModel extends ResponseModel {


    /**
     * datas : {"instant":{"title":"即时充值","desc":"9.9折，即充即用","note":"让您用得放心","btn":"我要充值"},"term":{"title":"加油套餐","desc":"最低6折，按月到账","note":"让您用的放心","btn":"我要套餐"},"index_banner":[{"id":2,"icon":"images/shouyetu.jpg","url":"http://yfb.www.dianhuohuo.shop/U2FsdGVkX19K/slide/1/edit","type":1}],"banner":[{"id":1,"icon":"images/shouyetu.jpg","url":"http://yfb.www.dianhuohuo.shop/U2FsdGVkX19K/slide/1/edit","type":1},{"id":3,"icon":"images/shouyetu.jpg","url":"http://yfb.www.dianhuohuo.shop/U2FsdGVkX19K/slide/1/edit","type":1}],"services":[{"id":2,"title":"支持中石油/中石化","desc":"一卡充值，全国通用","icon":"images/ce785cf057c5e273aff2ef7b57df4e38.png","url":"http://test.jyb.dianhuohuo.vip/articles/detail/2"},{"id":3,"title":"多种加油套餐","desc":"每月至少省下2箱油","icon":"images/f02cf9c75d3a9f6c2adf8c472e4a3a87.png","url":"http://test.jyb.dianhuohuo.vip/articles/detail/3"},{"id":4,"title":"常见问题解答","desc":"支持、圈存、到账等","icon":"images/5c30bedbe0ad104bfd91014fbd16658a.png","url":"http://test.jyb.dianhuohuo.vip/articles/detail/4"},{"id":5,"title":"代办油卡","desc":"代办油卡常见问题","icon":"images/a3c85b4154d9884d9f1a4099fc898621.png","url":"http://test.jyb.dianhuohuo.vip/articles/detail/5"}]}
     */

    public DatasBean datas;

    public static class DatasBean {
        /**
         * instant : {"title":"即时充值","desc":"9.9折，即充即用","note":"让您用得放心","btn":"我要充值"}
         * term : {"title":"加油套餐","desc":"最低6折，按月到账","note":"让您用的放心","btn":"我要套餐"}
         * index_banner : [{"id":2,"icon":"images/shouyetu.jpg","url":"http://yfb.www.dianhuohuo.shop/U2FsdGVkX19K/slide/1/edit","type":1}]
         * banner : [{"id":1,"icon":"images/shouyetu.jpg","url":"http://yfb.www.dianhuohuo.shop/U2FsdGVkX19K/slide/1/edit","type":1},{"id":3,"icon":"images/shouyetu.jpg","url":"http://yfb.www.dianhuohuo.shop/U2FsdGVkX19K/slide/1/edit","type":1}]
         * services : [{"id":2,"title":"支持中石油/中石化","desc":"一卡充值，全国通用","icon":"images/ce785cf057c5e273aff2ef7b57df4e38.png","url":"http://test.jyb.dianhuohuo.vip/articles/detail/2"},{"id":3,"title":"多种加油套餐","desc":"每月至少省下2箱油","icon":"images/f02cf9c75d3a9f6c2adf8c472e4a3a87.png","url":"http://test.jyb.dianhuohuo.vip/articles/detail/3"},{"id":4,"title":"常见问题解答","desc":"支持、圈存、到账等","icon":"images/5c30bedbe0ad104bfd91014fbd16658a.png","url":"http://test.jyb.dianhuohuo.vip/articles/detail/4"},{"id":5,"title":"代办油卡","desc":"代办油卡常见问题","icon":"images/a3c85b4154d9884d9f1a4099fc898621.png","url":"http://test.jyb.dianhuohuo.vip/articles/detail/5"}]
         */

        public InstantBean instant;
        public TermBean term;
        public List<IndexBannerBean> index_banner;
        public List<BannerBean> banner;
        public List<ServicesBean> services;

        public static class InstantBean {
            /**
             * title : 即时充值
             * desc : 9.9折，即充即用
             * note : 让您用得放心
             * btn : 我要充值
             */

            public String title;
            public String desc;
            public String note;
            public String btn;
        }

        public static class TermBean {
            /**
             * title : 加油套餐
             * desc : 最低6折，按月到账
             * note : 让您用的放心
             * btn : 我要套餐
             */

            public String title;
            public String desc;
            public String note;
            public String btn;
        }

        public static class IndexBannerBean {
            /**
             * id : 2
             * icon : images/shouyetu.jpg
             * url : http://yfb.www.dianhuohuo.shop/U2FsdGVkX19K/slide/1/edit
             * type : 1
             */

            public String id;
            public String icon;
            public String url;
            public String type;
        }

        public static class BannerBean {
            /**
             * id : 1
             * icon : images/shouyetu.jpg
             * url : http://yfb.www.dianhuohuo.shop/U2FsdGVkX19K/slide/1/edit
             * type : 1
             */

            public String id;
            public String icon;
            public String url;
            public String type;
        }

        public static class ServicesBean {
            /**
             * id : 2
             * title : 支持中石油/中石化
             * desc : 一卡充值，全国通用
             * icon : images/ce785cf057c5e273aff2ef7b57df4e38.png
             * url : http://test.jyb.dianhuohuo.vip/articles/detail/2
             */

            public String id;
            public String title;
            public String desc;
            public String icon;
            public String url;
        }
    }
}
